﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUS.ISS.ARS.BusinessFacade.Interface;
using NUS.ISS.ARS.BusinessEntity.ViewModels;
using NUS.ISS.ARS.BusinessComponent;

namespace NUS.ISS.ARS.BusinessFacade
{
    public class ReportBF:IReportBF
    {
        private static readonly ReportBF _instance = new ReportBF();
        public static ReportBF Instance
        {
            get
            {
                return _instance;
            }
        }

        public IEnumerable<FlightReportView> GenerateFlightReport(string flightNumber, string airportFrom, string airportTo)
        {
            return ReportBC.Instance.GenerateFlightReport(flightNumber, airportFrom, airportTo);
        }


        public IEnumerable<RevenueReportView> GenerateRevenueReport(string flightNumber, string airportFrom, string airportTo)
        {
            return ReportBC.Instance.GenerateRevenueReport(flightNumber, airportFrom, airportTo);
        }
    }
}
